package com.ybl.store.backend.dto.resp.deal;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.format.DateTimeFormat;
import com.ybl.store.common.entity.BaseDO;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;

@EqualsAndHashCode(callSuper = true)
@Data
public class LogDealProductNumberExportRespDTO extends BaseDO {

    @ExcelProperty("货品订单记录编号")
    private String id;

    @ExcelProperty("货品订单编号")
    private String dealProductId;

    @ExcelProperty("交易数量")
    private Integer number;

    @DateTimeFormat("yyyy-MM-dd")
    @ExcelProperty("交易日期")
    private Date dealTime;

    @ExcelProperty("备注")
    private String notes;
}
